package com.mycjj.android.bean;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class SettingBaseBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int code;
	private String request;
	private SettingData data;
	private String msg;
	
	

	public int getCode() {
		return code;
	}



	public void setCode(int code) {
		this.code = code;
	}



	public String getRequest() {
		return request;
	}



	public void setRequest(String request) {
		this.request = request;
	}



	public SettingData getData() {
		return data;
	}



	public void setData(SettingData data) {
		this.data = data;
	}



	public String getMsg() {
		return msg;
	}



	public void setMsg(String msg) {
		this.msg = msg;
	}



	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class SettingData implements Serializable {

		private static final long serialVersionUID = 1L;

		private ShareBean share;

		private CostBean cost;

		private EarnBean earn;

		private SinginBean singin;
		
		

		public ShareBean getShare() {
			return share;
		}

		public void setShare(ShareBean share) {
			this.share = share;
		}

		public CostBean getCost() {
			return cost;
		}

		public void setCost(CostBean cost) {
			this.cost = cost;
		}

		public EarnBean getEarn() {
			return earn;
		}

		public void setEarn(EarnBean earn) {
			this.earn = earn;
		}

		public SinginBean getSingin() {
			return singin;
		}

		public void setSingin(SinginBean singin) {
			this.singin = singin;
		}

		@JsonIgnoreProperties(ignoreUnknown = true)
		public static class ShareBean implements Serializable {
			private static final long serialVersionUID = 1L;
			private String regist; // 好友注册
			private String buy_car; // 购买整车
			private String repair; // 保养维修
			private String facial; // 汽车美容
			private String buy_parts; // 购买零配件
			public String getRegist() {
				return regist;
			}
			public void setRegist(String regist) {
				this.regist = regist;
			}
			public String getBuy_car() {
				return buy_car;
			}
			public void setBuy_car(String buy_car) {
				this.buy_car = buy_car;
			}
			public String getRepair() {
				return repair;
			}
			public void setRepair(String repair) {
				this.repair = repair;
			}
			public String getFacial() {
				return facial;
			}
			public void setFacial(String facial) {
				this.facial = facial;
			}
			public String getBuy_parts() {
				return buy_parts;
			}
			public void setBuy_parts(String buy_parts) {
				this.buy_parts = buy_parts;
			}
		}

		@JsonIgnoreProperties(ignoreUnknown = true)
		public static class CostBean implements Serializable {
			private static final long serialVersionUID = 1L;

			private MaxValueBean buy_car;// 整车购买
			private MaxValueBean upkeep;// 保养，参数同上
			private MaxValueBean repair; // 维修，参数同上
			private MaxValueBean facial;// 美容，参数同上
			private MaxValueBean buy_parts;// 购买零配件，参数同上

			
			public MaxValueBean getBuy_car() {
				return buy_car;
			}


			public void setBuy_car(MaxValueBean buy_car) {
				this.buy_car = buy_car;
			}


			public MaxValueBean getUpkeep() {
				return upkeep;
			}


			public void setUpkeep(MaxValueBean upkeep) {
				this.upkeep = upkeep;
			}


			public MaxValueBean getRepair() {
				return repair;
			}


			public void setRepair(MaxValueBean repair) {
				this.repair = repair;
			}


			public MaxValueBean getFacial() {
				return facial;
			}


			public void setFacial(MaxValueBean facial) {
				this.facial = facial;
			}


			public MaxValueBean getBuy_parts() {
				return buy_parts;
			}


			public void setBuy_parts(MaxValueBean buy_parts) {
				this.buy_parts = buy_parts;
			}


			public static class MaxValueBean implements Serializable {
				private static final long serialVersionUID = 1L;
				private int max;// 可使用的元宝数
				private int value;// 抵价1000元RMB

				public int getMax() {
					return max;
				}

				public void setMax(int max) {
					this.max = max;
				}

				public int getValue() {
					return value;
				}

				public void setValue(int value) {
					this.value = value;
				}
			}
		}

		@JsonIgnoreProperties(ignoreUnknown = true)
		public static class EarnBean implements Serializable {
			private static final long serialVersionUID = 1L;
			private String buy_car; // 购买整车
			private String upkeep;// 保养
			private String repair; // 维修
			private String facial; // 汽车美容
			private String buy_parts; // 购买零配件
			
			public String getBuy_car() {
				return buy_car;
			}
			public void setBuy_car(String buy_car) {
				this.buy_car = buy_car;
			}
			public String getRepair() {
				return repair;
			}
			public void setRepair(String repair) {
				this.repair = repair;
			}
			public String getFacial() {
				return facial;
			}
			public void setFacial(String facial) {
				this.facial = facial;
			}
			public String getBuy_parts() {
				return buy_parts;
			}
			public void setBuy_parts(String buy_parts) {
				this.buy_parts = buy_parts;
			}
			public String getUpkeep() {
				return upkeep;
			}
			public void setUpkeep(String upkeep) {
				this.upkeep = upkeep;
			}
			
			
		}

		@JsonIgnoreProperties(ignoreUnknown = true)
		public static class SinginBean implements Serializable {
			private static final long serialVersionUID = 1L;
			private String points_signin;// 用户签到一次可获得的积分数
			public String getPoints_signin() {
				return points_signin;
			}
			public void setPoints_signin(String points_signin) {
				this.points_signin = points_signin;
			}
			
		}
	}

}
